<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	template="../templates/ui.xhtml">

	<ui:define name="content">

		<h1 class="title ui-widget-header ui-corner-all">Dialog - MinMax</h1>
		<div class="entry">
			<p>Dialog can be minimizable and maximizable.</p>
				
				<p:commandButton id="basic" value="Show Dialog" onclick="dlg.show();" type="button" />
							
                <p:dialog header="Dialog" widgetVar="dlg" maximizable="true" minimizable="true">
					<h:outputText value="This Dialog can be Maximized and Minimized!" />
				</p:dialog>	
				
				<h3>Source</h3>
				<p:tabView>
					<p:tab title="dialogMinMax.xhtml">
				<pre name="code" class="xml">	
&lt;p:commandButton id="basic" value="Show Dialog" onclick="dlg.show();" type="button" /&gt;
							
&lt;p:dialog header="Dialog" widgetVar="dlg" maximizable="true" minimizable="true"&gt;
    &lt;h:outputText value="This Dialog can be Maximized and Minimized!" /&gt;
&lt;/p:dialog&gt;	
				</pre>
					</p:tab>
				</p:tabView>
		</div>

	</ui:define>

</ui:composition>
